
@if($model->audit_status == 1)
    <a class="btn btn-xs btn-danger" href="/xqc/products/material-audit/{{ $model->id }}/edit">审核</a>
@endif
@if($model->audit_status == 2 && $model->origin_status == 1)
    <a class="btn btn-xs btn-danger" href="/xqc/products/material-audit/{{ $model->id }}/edit?audit_status={{ $model->audit_status }}">寻源</a>
@endif
@if($model->origin_status == 2 && $model->status == 2)
    <a class="btn btn-xs btn-info" target="_blank" href="/xqc/products/material/create?apply_no={{ $model->apply_no }}">去建档</a>
@endif
